package at.jsug.topicvoting.gwt1.client.logic.event;

import at.jsug.topicvoting.gwt1.client.vo.Topic;

public class SaveVoteEvent extends AbstractEvent {

	public static final String EVENT_ID = "saveVote";

	private final Topic voteForTopic;

	
	public SaveVoteEvent(Topic voteForTopic) {
		this.voteForTopic = voteForTopic;
	}

	
	public String getId() {
		return EVENT_ID;
	}

	public String toString() {
		return "SaveVoteEvent[voteForTopic="+voteForTopic+"]";
	}
	
	public Topic getVoteForTopic() {
		return voteForTopic;
	}

}
